package com.soft.javase.day06.regex;

/**
 * @author yzh
 * @desc TODO
 * @date 2025/4/24
 */
public class ReplaceString {
    public static void main(String[] args) {
        String str = "Hello12345World6789012";
        String replaced = str.replaceAll("\\d", "#");
        System.out.println(replaced);
    }
}
